<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>帮助文档管理</title>
	<%@ include file="/view/common/tags.jsp"%>
	<script type="text/javascript" src="${ctx}/js/My97DatePicker/WdatePicker.js"> </script>
</head>
<body>
	<section class="content">
    	<div class="row">
            <div class="col-md-12">
                <div class="box">
                	<div class="box-body">
                    	<div class="panel-body">
                            <sk:form cssClass="form-horizontal" action="/shareGame/save" method="post" id="saveObject">
                            	<div class="form-group" style="margin-bottom:0px;">
                                	<label class=" col-sm-1 text-right" >游戏：</label>
                                    <div class="col-sm-3">
	                                    <sk:select cssClass="form-control select" id ="gameId" name="gameId" value="">
						                	<option value="">请选择</option>
											<sk:options  options="${gameNameList}" ></sk:options>
					            		</sk:select>
                                    </div>
                                    <div class="col-sm-3 ">
                                    	<button type="button"  class="btn btn-primary btn-sm"  onclick="find()"><span class='glyphicon glyphicon-search'></span>查&nbsp;询</button>
                            		</div>
                            	</div>
                            	<div class="form-group">
									<label class="col-sm-1 text-right">分享规则：</label>
									<div class="col-sm-9">
										<textarea id="shareContext" name="shareContext" class="shareContext"/>${tlzsShareGame.shareContext}</textarea>
									</div>
								</div>
								<input type="hidden" id="rowId" name="rowId" value="${tlzsShareGame.rowId}">
								<div class="col-sm-4 col-sm-offset-1">
									<sk:button type="button" rightKey="20170816153507"  _class="btn btn-primary shareSetBtn" onclick="add()">保  存</sk:button></p>
                                </div>
                                <input type="hidden" id="isReCommit" value="0">
                            </sk:form>
                       	</div>
                    </div>
                </div>
            </div>
       	</div>
	</section>
   <%@ include file="/view/common/footer.jsp"%>
</body>
<script type="text/javascript" src="${ctx}/view/js/share/shareGame.js"></script>
<script>
// 提示信息
var msgg='<%=request.getAttribute("msg")%>';
if (msgg && msgg!=null && msgg!='null') {
	  layer.msg(msgg);
}
</script>
</html>